package myplugin;

import java.awt.event.ActionEvent;

import com.nomagic.magicdraw.actions.ActionsGroups;
import com.nomagic.magicdraw.actions.MDAction;

class WSDLAction extends MDAction {
	
	private static final long serialVersionUID = 1L;

	public WSDLAction(){
		super("dm-001", "Generate WSDL", null, ActionsGroups.PROJECT_OPENED_RELATED);
	}
	public void actionPerformed(ActionEvent e)
		{
		//if the Generate WSDL menu clicked, we create a new definitionwindow frame
        definitionWindow window = new definitionWindow();

        window.setTitle("definitionWindow");
        window.pack();
        window.show();}
}
